﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CityGateway.Objects
{
    [DataContract]
    [Serializable]
    public class City
    {

        public City()
        {
            Elements = new List<CityElement>();
            CityName = "My new city";
            Budget = new Budget();
            this.CityStatus = new CityStatus();

            this.Neighboures = new Dictionary<long, Neighbour>();



   
            
            
            


 

   

        }
        [DataMember]
        public string CityName { get; set; }

      
        [DataMember]
        public List<CityElement> Elements {get;set;}

        [DataMember]
        public long UserID { get; set; }

        [DataMember]
        public Budget Budget { get; set; }


        
        [DataMember]
        public CityStatus CityStatus { get; set; }


        [DataMember]
        public Dictionary<long, Neighbour> Neighboures{get;set;}


        [DataMember]
        public List<CityStageLink> CityStages { get; set; }

         



    }
}
